package com.rightsidetech.mall.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.rightsidetech.mall.dto.request.DetailSpecsReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@JsonIgnoreProperties(value={"typeId","specsJson"})
public class IntegralDetailResp implements Serializable {

    private Long id;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("基础商品id")
    private Long baseInfoId;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("商品库存")
    private Integer stock;

    @ApiModelProperty("封面图")
    private String cover;

    @ApiModelProperty("规格条码")
    private String specsCode;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "划线价")
    private BigDecimal underlinedPrice;

    @ApiModelProperty("商品状态")
    private Byte commodityStatus;

    @ApiModelProperty("分类id")
    private List<Long> typeIds;

    @ApiModelProperty("驳回原因")
    private String auditContent;

    @ApiModelProperty("规格详情")
    private DetailSpecsReq specs;

    private String specsJson;

    private Long typeId;


}
